package com.lebang.feign.bus.fallback;

import com.lebang.feign.bus.BusRecordFeign;
import com.lebang.model.RequestUserInfo;
import com.lebangweb.response.JsonData;
import org.springframework.stereotype.Component;

import static com.lebang.feign.draw.CommonFallBack.FAIL_JSON;

@Component
public class BusRecordFallback implements BusRecordFeign {

    @Override
    public JsonData add(RequestUserInfo request, String cityId, String rouseId, String routeNum, String routeName, String routesId) {
        return FAIL_JSON;
    }

    @Override
    public JsonData get(RequestUserInfo requestUserInfo, String cityId) {
        return FAIL_JSON;
    }

    @Override
    public JsonData del(RequestUserInfo requestUserInfo, String cityId, String routeId) {
        return FAIL_JSON;
    }
}
